package com.dkcrow.spring.transaction.aop;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.dkcrow.spring.anno.MyAnnotation;


@Component
public class TargetClass {
	
	@Autowired TempBean tempBean;
	
	@MyAnnotation
	private void hey(){
		System.out.println("this is whitecrow!!!");
	}
	
	public void testHey(){
		this.hey();
		tempBean.showWhoYouAre();
	}

}
